package com.lord.springcloud.dao;

import com.lord.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * TODO
 * @author Lord
 * @date 2021/2/4 15:28
 * @versiong 1.0
 */
@Mapper
public interface PaymentDao {

	int create(Payment payment);

	Payment getPaymentById(@Param("id") Long id);
}
